/**
 * file:   TurkeyTestDrive.java
 * date:   2014年7月10日
 * author: weiwei
 * desc:   TODO
 */
package designPattern.Adapter;


public class TurkeyTestDrive {


	public static void main(String[] args) {
		MallardDuck duck = new MallardDuck();
		Turkey duckAdapter = new DuckAdapter(duck);
 
		for(int i=0;i<10;i++) {
			System.out.println("The DuckAdapter says...");
			duckAdapter.gobble();
			duckAdapter.fly();
		}

	}

}
